#!/bin/bash
go test -run 2A >a.txt
res=$(awk '$0 ~ /ok/ {print $0}' a.txt)
echo $res
if [ -n "${res}" ];then echo "Lab2A Passed";else echo "Lab2A Failed";fi
